html,body,div,span,h1,h2,h3,h4,h5,h6,p,a,i,em,img,dl,ul,ol,dd,dt,li,form,label,legend,table,tr,td,th,article,aside,nav,menu,input{margin: 0;padding: 0;box-sizing: border-box}
ul,ol{list-style:none;}
a{text-decoration: none;}
//颜色
$green:#2abc6b;
//12号字
$size-12:12px;
//头部样式
.header{
  height: 212px;
 .headers{
   width: 1200px;
   margin: 0 auto ;
   .top{
     height: 33px;
     background: #f9f9f9;
     //第一个ul
     .ul-1{
       float: left;
       li{
         margin-right: 13px;
         float: left;
         font-size:$size-12;
         color: black;
         line-height: 33px;
         a{
           color: $green;
           cursor: pointer;
         }
       }
     }
     //第二个ul
     .ul-2{
       float: right;
       font-size: $size-12;
       li{
         float: left;
         line-height: 33px;
         position: relative;
         a{
          color: $green;
          cursor: pointer;
        }
        span{
          position: absolute;
          top: 14px;
          right: 0px;
          width: 10px;
          height:6px;
          background:url(/images/小于.gif);
        }
        i{
          display: inline-block;
          width: 15px;
          height: 15px;
          margin-right: 5px;
          background: url(/images/index9.png) -290px -23px;
        }
       }
      li:nth-child(3) i{
        background-position: -293px -1px;
      }
      li:nth-child(1), li:nth-child(4), li:nth-child(6), li:nth-child(7){
        padding-left: 10px;
        padding-right:14px;
      }
      li:nth-child(2) a{
        padding-left: 10px;
      
      }
      li:nth-child(3) a{
        padding-left: 10px;
        padding-right: 5px;
      }
      li:nth-child(5) a{
        padding-left: 10px;
        padding-right: 10px;
      }
     }
   }
   //中
   .center{
     height: 125px;
     background-color: #ffffff;
     border-bottom: 1px solid #e2e2e2;
      .logo{
        float: left;
        img{
          width: 194;
          height: 53px;
          margin-top: 36px;
          margin-left:12px;
          margin-right:107px;
        }
      }
      form{
        float: left;
        border:none;
        margin-top: 30px;
        input{
          float: left;
          width:500px;
          height: 40px;
          border: 2px solid $green; 
          border-radius: 5px;
          padding-left: 15px;
        }
        button{
          width: 80px;
          height: 40px;
          border:none; 
          border:2px solid $green;
          border-top-right-radius: 5px;
          border-bottom-right-radius: 5px;
          background:$green url(/images/放大镜.gif) 19px 2px no-repeat
        }
      }
      .right{
        width: 125px;
        height: 43px;
        line-height: 43px;
        padding-left:57px;
        font-size:15px;
        margin-top: 26px;
        float: right;
       background: $green url(/images/购物车.gif) no-repeat 26px 7px;
       a{
        color: white;
        cursor: pointer;
       }
      }
   }
   //下
   .bottom{
     height: 55px;
     font-size: 18px;
     a{
       color: black;
     }
     .header-h1{
       width:206px;
       margin-right: 5px;
       text-align: center;
       position: relative;
       line-height: 55px;
       font-weight:bold; 
       float: left; 
       &:hover a{
        color: $green;
      }
      .list{
        position: absolute;
        z-index: 999;
        width: 210px;
        height: 416px;
        background: url(/images/menu_bg.png) no-repeat;
          li{
            width: 210px;
            height:41px;
            line-height: 41px;
            font-size:14px;
            font-weight: normal;
            text-align: left;
            padding-left:20px;
            border-bottom: 1px solid white;
            color: white;
            &:hover{
              background: white;
                color: $green ; 
                
          }
          }
          //选项卡
        .list-list{
         display: none;
          width: 780px;
          padding-left: 30px;
          position: absolute;
          text-align: left;
          z-index: 99;
          background: white;
          top: 0;
          left:210px;
          p{
            line-height: 28px;
            padding-left: 5px;
            font-size: 12px;
            font-weight: 700;
          
          } 
          span{
              display: inline-block;
              height:20px;
              line-height: 20px;
              font-size: 12px;
              padding: 0 10px;
              font-weight: normal;
              border-left: 1px solid red; 
              &:hover{
             color: $green;
           }
            }
        }  
      }
     }
     ul{
       float: left;
       li{
         float: left;
         padding: 0 20px;
         line-height: 55px;
         &:hover a{

           border-bottom: 1px solid $green;
          color: $green;
        }
       }
     }
   }
 }
}
//尾部样式
.footer{
  margin-top: 15px;
  height: 326px;
  background: #3a3a3a;
  .footers{
    width: 1200px;
    margin: 0 auto;
    padding-top:43px;
    padding-left:157px; 
    color: white;
    .left{
      width: 798px;
      float: left;
      height: 220px;
      ul{
        float: left;
        font-size: 13px;
        line-height: 31px;
      }
      ul:nth-child(2){
          margin-left: 107px;
          margin-right: 94px;
      }
      ul:nth-child(4){
        margin-left: 102px;
        margin-right: 82px;
    }
    }
    .right{
      float: left;
      width: 245px;
      height: 220px;
      font-size: 14px;
    }
   img{
     margin-top: 21px;
     width: 120px;
     height: 120px;
     margin-left: 10px;
   }
   p{
     font-size: 12px;
     text-align: center;
     line-height: 25px;
   }
  }
  .sublime-right{
    position: fixed;
    right: 0;
    top: 0;
    width: 28px;
    height: 100%;
    background: black;
    padding-top: 190px;
    button{
      width:28px;
      height: 28px;
      background: url(/images/index9.png) -325px -1px;
      border: none;
      &:hover{
        background-color: #2abc6b;
      }
    }
    div{
      width:28px;
      height: 28px; 
      background: url(/images/index9.png) -326px -1px;
    }
    >div:nth-child(2){
      margin-top: 5px;
      background-color:#2abc6b; 
      background-position: -363px -120px;
    }
    section{
      height: 117px;
      font-size: 16px;
      margin-top: 5px;
      text-align: center;
      a{
        color: white;
         p{
        width: 20px;
        height: 20px;
        font-size: 12px;
        text-align: center;
        line-height: 20px;
        margin: 0 auto;
        background: #2abc6b;
        border-radius:50%; 
      }
      }
      >div{
        width:28px;
        height: 28px; 
        display: block;
         background-position: -323px -26px;
      }
     
      &:hover{
        background-color: #2abc6b;
      }
    }
  >div:nth-child(5){
    margin-top: 30px;
    background-position: -323px -118px;
    &:hover{
      background-color: #2abc6b;
    }
}
>div:nth-child(6){
  margin-top: 20px;
  background-position: -324px -59px;
  &:hover{
    background-color: #2abc6b;
  }
}
>div:nth-child(7){
  margin-top: 20px;
  background-position: -324px -89px;
  &:hover{
    background-color: #2abc6b;
  }
}
>div:nth-child(8){
  margin-top: 250px;
  background-position: -323px -184px;
  &:hover{
    background-color: #2abc6b;
  }
}
>div:nth-child(9){
  margin-top: 5px;
  background-position: -360px -31px;
  &:hover{
    background-color: #2abc6b;
  }
}
div:nth-child(10){
  margin-top: 5px;
 background-image: url(/images/返回.gif) center center ;
  &:hover{
    background-color: #2abc6b;
  }
}
}
}